<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<aside id="left-panel" class="left-panel" th:fragment="leftbar">
    <nav class="navbar navbar-expand-sm navbar-default">
        <div id="main-menu" class="main-menu collapse navbar-collapse">
            <ul class="nav navbar-nav">
                <li class="active">
                    <a th:href="@{/admin/main}"><i class="menu-icon fa fa-laptop"></i>主页</a>
                </li>
                <li class="menu-title">后台管理</li><!-- /.menu-title -->
                <li class="menu-item-has-children dropdown">
                    <a th:href="@{/admin/viewWord}" class="dropdown-toggle" aria-haspopup="true" aria-expanded="false"> <i class="menu-icon fa fa-edit"></i>单词管理</a>
                </li>
                <li class="menu-item-has-children dropdown">
                    <a th:href="@{/admin/viewBook}" class="dropdown-toggle"  aria-haspopup="true" aria-expanded="false"> <i class="menu-icon fa fa-book"></i>书籍管理</a>
                </li>
                <li class="menu-item-has-children dropdown">
                    <a th:href="@{/admin/viewNotice}" class="dropdown-toggle"  aria-haspopup="true" aria-expanded="false"> <i class="menu-icon fa fa-volume-down"></i>公告管理</a>
                </li>
                <li class="menu-item-has-children dropdown">
                    <a th:href="@{/admin/viewUser}" class="dropdown-toggle"  aria-haspopup="true" aria-expanded="false"> <i class="menu-icon fa fa-user"></i>用户管理</a>

                </li>

                <li class="menu-title">个人中心</li><!-- /.menu-title -->

                <li class="menu-item-has-children dropdown">
                    <a th:href="@{/logout}" class="dropdown-toggle"  aria-haspopup="true" aria-expanded="false"> <i class="menu-icon fa fa-level-down"></i>退出</a>
                </li>
            </ul>
        </div><!-- /.navbar-collapse -->
    </nav>
</aside>
</html>